﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessLogic.BusinessEntity.Entities;


namespace UserInterface.ClientApplication.UIEntity
{
	public class MyAccountView
	{
		public int ID { get; set; }

		public string Number { get; set; }

		public decimal Balance { get; set; }

		public string Currency { get; set; }

		public MyAccountView() { }

		public MyAccountView(Account account)
		{
			Currency = account.Currency.Name;
			Number = account.Number;
			Balance = account.Balance;
		}

		public override string ToString()
		{
			return Number;
		}
	}
}
